package com.github.catvod.spider.merge;

import java.io.Reader;
import java.util.ArrayList;
import javax.annotation.ParametersAreNonnullByDefault;

abstract class vt {
  protected B BQ;
  
  protected ArrayList<Lm> I;
  
  private B.qM Qy = new B.qM();
  
  UF V0;
  
  protected Qg W;
  
  protected F h;
  
  fd j;
  
  protected String oC;
  
  protected HZ q;
  
  private B.x u = new B.x();
  
  protected boolean BQ(String paramString) {
    B b = this.BQ;
    B.qM qM1 = this.Qy;
    return (b == qM1) ? oC((new B.qM()).f(paramString)) : oC(qM1.nf().f(paramString));
  }
  
  @ParametersAreNonnullByDefault
  HZ I(Reader paramReader, String paramString, F paramF) {
    q(paramReader, paramString, paramF);
    Qy();
    this.V0.q();
    this.V0 = null;
    this.j = null;
    this.I = null;
    return this.q;
  }
  
  protected void Qy() {
    B b;
    fd fd1 = this.j;
    B.i i = B.i.oC;
    do {
      b = fd1.yx();
      oC(b);
      b.t();
    } while (b.h != i);
  }
  
  abstract Qg V0();
  
  protected boolean W(String paramString) {
    B.x x1 = this.u;
    return (this.BQ == x1) ? oC((new B.x()).f(paramString)) : oC(x1.nf().f(paramString));
  }
  
  protected Lm h() {
    Lm lm;
    int i = this.I.size();
    if (i > 0) {
      lm = this.I.get(i - 1);
    } else {
      lm = null;
    } 
    return lm;
  }
  
  protected void j(String paramString) {
    J5 j5 = this.h.h();
    if (j5.h())
      j5.add(new lA(this.V0.V(), paramString)); 
  }
  
  protected abstract boolean oC(B paramB);
  
  @ParametersAreNonnullByDefault
  protected void q(Reader paramReader, String paramString, F paramF) {
    R2.Qy(paramReader, "String input must not be null");
    R2.Qy(paramString, "BaseURI must not be null");
    R2.u(paramF);
    HZ hZ = new HZ(paramString);
    this.q = hZ;
    hZ.U(paramF);
    this.h = paramF;
    this.W = paramF.q();
    this.V0 = new UF(paramReader);
    this.BQ = null;
    this.j = new fd(this.V0, paramF.h());
    this.I = new ArrayList<Lm>(32);
    this.oC = paramString;
  }
  
  public boolean u(String paramString, QF paramQF) {
    B.x x1 = this.u;
    if (this.BQ == x1)
      return oC((new B.x()).V(paramString, paramQF)); 
    x1.nf();
    x1.V(paramString, paramQF);
    return oC(x1);
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/vt.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */